package com.pyrsana.faith.membership

class SecRole {

	String authority

	static mapping = {
		cache true
	}

	static constraints = {
		authority blank: false, unique: true
	}
	
	public String toString() {
		return authority.replaceAll('ROLE_', '').lowercase().capitalize()
	}
}
